package com.ctshk.rpc.ship.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 船票推荐DTO
 * </p>
 *
 * @author 刘蕾
 * @since 2021年03月05日
 */
@Data
@ApiModel(value = "ShipReserveDTO对象", description = "船票推荐DTO")
public class ShipReserveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long offLineId;

    @ApiModelProperty(value = "勾选人/部门类型(1部门，2员工)")
    private Integer checkType;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "加幅类型(1 数值，2百分比)")
    private Integer adjustType;

    @ApiModelProperty(value = "加幅价格")
    private BigDecimal offLinePrice;

    @ApiModelProperty(value = "百分比")
    private Double percent;

    @ApiModelProperty(value = "是否及时确认：二次确认和API产品该值不展示")
    private String confirm;

    @ApiModelProperty(value = "是否设置限购（1 限购，2 不限购）")
    private Integer isLimit;

    @ApiModelProperty(value = "限购数")
    private Integer limitNum;

    @ApiModelProperty(value = "已售数")
    private Integer soldNumber;

    @ApiModelProperty(value = "余票")
    private Integer number;


}
